package com.zeoy.keeplivetestdemo.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.zeoy.keeplivetestdemo.service.BackGroundService;


/**
 * Created by Administrator on 2018\3\21 0021.
 */

public class BootReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Intent intent1 = new Intent(context, BackGroundService.class);
        context.startService(intent1);
    }
}
